/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.crystalrange.documents.model;

/**
 *
 * @author Krzysiek
 */
public class DocumentReference {
    private Long id;
    private DocumentReferenceType documentReferenceType;
    private Document parentDocument;
    private DocumentVersion parentDocumentVersion;
    private Document childDocument;
    private DocumentVersion childDocumentVersion;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public DocumentReferenceType getDocumentReferenceType() {
        return documentReferenceType;
    }

    public void setDocumentReferenceType(DocumentReferenceType documentReferenceType) {
        this.documentReferenceType = documentReferenceType;
    }

    public Document getChildDocument() {
        return childDocument;
    }

    public void setChildDocument(Document childDocument) {
        this.childDocument = childDocument;
    }

    public DocumentVersion getChildDocumentVersion() {
        return childDocumentVersion;
    }

    public void setChildDocumentVersion(DocumentVersion childDocumentVersion) {
        this.childDocumentVersion = childDocumentVersion;
    }

    public Document getParentDocument() {
        return parentDocument;
    }

    public void setParentDocument(Document parentDocument) {
        this.parentDocument = parentDocument;
    }

    public DocumentVersion getParentDocumentVersion() {
        return parentDocumentVersion;
    }

    public void setParentDocumentVersion(DocumentVersion parentDocumentVersion) {
        this.parentDocumentVersion = parentDocumentVersion;
    }
}
